package cn.pegasus.teamwork.pegasus.entity;

import java.io.Serializable;
import java.util.Date;

/**
TABLE:.buss_user_thirdparty     
--------------------------------------------------------
id                   Integer(10)        NOTNULL             //主键
user_id              Integer(10)        NOTNULL             //账号表id
third_nick           String(100)        NOTNULL             //昵称
third_party_id       String(400)        NOTNULL             //第三方账号
user_type            Integer(10)                            // 1: 2
third_type           Byte(3)            NOTNULL  1          //第三方账号类型 1：微信 2：qq 3：微博
third_status         Byte(3)            NOTNULL  1          //状态 1:有效 2：无效
create_time          Date(19)                    CURRENT_TIMESTAMP //创建时间
update_time          Date(19)                               //修改时间
*/
public class BussUserThirdparty implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private	Integer id;
	private	Integer userId;
	private	String thirdNick;
	private	String thirdPartyId;
	private	Integer userType;
	private	Byte thirdType;
	private	Byte thirdStatus;
	private	Date createTime;
	private	Date updateTime;

	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public Integer getId(){
		return id;
	}
	
	/**
	* id  Integer(10)  NOTNULL  //主键    
	*/
	public void setId(Integer id){
		this.id = id;
	}
	
	/**
	* user_id  Integer(10)  NOTNULL  //账号表id    
	*/
	public Integer getUserId(){
		return userId;
	}
	
	/**
	* user_id  Integer(10)  NOTNULL  //账号表id    
	*/
	public void setUserId(Integer userId){
		this.userId = userId;
	}
	
	/**
	* third_nick  String(100)  NOTNULL  //昵称    
	*/
	public String getThirdNick(){
		return thirdNick;
	}
	
	/**
	* third_nick  String(100)  NOTNULL  //昵称    
	*/
	public void setThirdNick(String thirdNick){
		this.thirdNick = thirdNick;
	}
	
	/**
	* third_party_id  String(400)  NOTNULL  //第三方账号    
	*/
	public String getThirdPartyId(){
		return thirdPartyId;
	}
	
	/**
	* third_party_id  String(400)  NOTNULL  //第三方账号    
	*/
	public void setThirdPartyId(String thirdPartyId){
		this.thirdPartyId = thirdPartyId;
	}
	
	/**
	* user_type  Integer(10)  //  1:  2    
	*/
	public Integer getUserType(){
		return userType;
	}
	
	/**
	* user_type  Integer(10)  //  1:  2    
	*/
	public void setUserType(Integer userType){
		this.userType = userType;
	}
	
	/**
	* third_type  Byte(3)  NOTNULL  1  //第三方账号类型  1：微信  2：qq  3：微博    
	*/
	public Byte getThirdType(){
		return thirdType;
	}
	
	/**
	* third_type  Byte(3)  NOTNULL  1  //第三方账号类型  1：微信  2：qq  3：微博    
	*/
	public void setThirdType(Byte thirdType){
		this.thirdType = thirdType;
	}
	
	/**
	* third_status  Byte(3)  NOTNULL  1  //状态  1:有效  2：无效    
	*/
	public Byte getThirdStatus(){
		return thirdStatus;
	}
	
	/**
	* third_status  Byte(3)  NOTNULL  1  //状态  1:有效  2：无效    
	*/
	public void setThirdStatus(Byte thirdStatus){
		this.thirdStatus = thirdStatus;
	}
	
	/**
	* create_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public Date getCreateTime(){
		return createTime;
	}
	
	/**
	* create_time  Date(19)  CURRENT_TIMESTAMP  //创建时间    
	*/
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	/**
	* update_time  Date(19)  //修改时间    
	*/
	public Date getUpdateTime(){
		return updateTime;
	}
	
	/**
	* update_time  Date(19)  //修改时间    
	*/
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}
	
}